package com.xx.ems.service;

import java.util.Map;

import com.xx.ems.model.Users;

/**
 * @author xxx
 * @date 2014-3-2
 * @version 1.0
 * 描述: 设备领用操作
 */
public interface EquipmentReceiveService {
	public int getTotalpage();
	/**
	 * 描述: 领用设备
	 * @param eidArray
	 * @param uid
	 * @param user
	 * @date 2014-3-2
	 */
	public boolean receiveEquipment(String eidArray, int uid, Users user);
	/**
	 * 描述: 归还设备 
	 * @param eidArray
	 * @param user
	 * @date 2014-3-4
	 */
	public boolean restoreEquipment(String eidArray, Users user);
	/**
	 * 描述: 获取领用单列表 
	 * @return
	 * @date 2014-3-4
	 */
	public Map<String, Object> getReceiveNumList(int pageNow, int maxCount);
	/**
	 * 描述: 根据领用单号id获取相应领用信息 
	 * @param rid
	 * @param response
	 * @date 2014-3-4
	 */
	public Map<String, Object> getReceiveByReceiveNumId(int rid, int pageNow, int maxCount);
}